package balmysundaycandy.morelowlevel.sample.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.slim3.datastore.Attribute;
import org.slim3.datastore.Model;

import com.google.appengine.api.datastore.Key;

@Model
public class Cashflow implements Serializable {
	private static final long serialVersionUID = 8344580204137017043L;

	@Attribute(primaryKey = true)
	private Key key;

	private Date paymentDate;
	
	@Attribute(lob = true)
	private BigDecimal amount;
	
	public Key getKey() {
		return key;
	}
	
	public void setKey(Key key){
		this.key = key;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}


}
